package com.ice.chatserver.pojo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * @author ice2020x
 * @Date: 2023/2/3
 * @Description: 系统的反馈信息
 **/
@Data
@Document("feedbacks")
public class FeedBack {

    /**
     * 主键
     */
    @Id
    private String id;
    /**
     * 反馈人id
     */
    private String userId;
    /**
     * 反馈人账号名
     */
    private String username;
    /**
     * 反馈内容
     */
    private String feedBackContent;
    @CreatedDate
    private Date createDate = new Date();

    @LastModifiedDate
    private Date updateDate;
}
